//获取门店列表
export const getShopListApi = async (data) => {
	const {
		data: res
		// } = await uni.$http.post('/api/enterprise/findList', data)
	} = await uni.$http.get('/api/enterprise/findAllEnterprise')
	return res
}

//获取营销人员列表
export const getMarketingListApi = async (data) => {
	const {
		data: res
	} = await uni.$http.post('/api/miniApp/findListPage', data)
	return res
}

//绑定营销人员 
export const bindingRelationApi = async (data) => {
	const {
		data: res
	} = await uni.$http.post('/api/miniApp/miniApp/addMiniRelation', data)
	return res
}

/// 查询小程序配置
export const getDeployApi = async (data) => {
	const {
		data: res
	} = await uni.$http.post('/api/miniApp/config/queryList', data)
	return res
}
